﻿using System;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace 请求响应加密.Models.SqlSugarDemo
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Data_User")]
    public partial class DataUser
    {
        public DataUser()
        {


        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "UID", ColumnDescription = "", Length = 20)]
        [Required]
        public string UID { get; set; }


        [SugarColumn(ColumnName = "Acount", ColumnDescription = "", Length = 32)]
        [Required]
        public string Acount { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(ColumnName = "Name", ColumnDescription = "", Length = 64)]
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// Desc:
        /// Default:男
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Gender", ColumnDescription = "", Length = 2)]
        public string Gender { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Age", ColumnDescription = "", Length = 4)]
        public int? Age { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Email", ColumnDescription = "", Length = 64)]
        public string Email { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(ColumnName = "Password", ColumnDescription = "", Length = 64)]
        [Required]
        public string Password { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Address", ColumnDescription = "", Length = 128)]
        public string Address { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate", ColumnDescription = "", Length = 0)]
        public DateTime? CreateDate { get; set; }

    }
}
